
import Vue from 'vue';
import App from './App';
import Left from 'components/Menu/Menu';
import Record from './Record';
import Msg from './Msg';
import VueRouter from 'vue-router';
Vue.use(VueRouter);

const routes = [
  {path: '/console/record', component:Record},
  {path: '/console/msg', component: Msg}
];
const router = new VueRouter({
  mode : 'history',
  routes
})
console.log(router)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  
  components: { Left }
}).$mount('#app')
